package me.zhengjie.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * ShuffleProperties
 *
 * @author guoyuan
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "mapping")
public class MappingProperties {

    private List<String> safeType;

    private Integer docNumZeroLen;

    private String docNumTimePattern;

    private List<String> docNumPrefix;

    private Sheets sheets;

    private List<String> sceneType;

    private String systemNumPrefix;

    private Integer systemNumZeroLen;

    private String requirementNumTimePattern;

    private String requirementNumPrefix;

    private Integer requirementNumZeroLen;

    @Data
    public static class Sheets {

        private String[] itemSheets;

        private String[] caseSheets;

    }

}
